package com.wms.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.validation.annotation.Validated;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("物料类别")
public class Category {
    @ApiModelProperty("创建人id")
    Integer createBy;
    @ApiModelProperty("更新人id")
    Integer updateBy;
    @ApiModelProperty("类别名称")
    String name;
    @ApiModelProperty("类别编码")
    String code;
    @ApiModelProperty("上级类别Id")
    Integer parentId;
    @ApiModelProperty(value = "是否删除",hidden = true)
    Integer isdel;
}
